package com.xcity.util;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;

import naga.x.util.StringUtils;

/**
 * 行政区工具
 * @author yang.li
 *
 */
public class RegionUtils {
	
	public static abstract class Entry {
		public String name;
		public String pinyin;
	}
	
	public static class Province extends Entry {
		public LinkedList<City> cities;
	}
	
	public static class City extends Entry {
		public Province province;
	}
	
	static Map<String, City> nameMapping = new HashMap<String, City>();
	static Map<String, City> pinyinMapping = new HashMap<String, City>();
	static City DEFAULT;
	
	/**
	 * find the city by name/pinyin
	 * @param name the city name or pinyin
	 * @return
	 */
	public static City find(String name) {
		if (StringUtils.isEmpty(name)) {
			return DEFAULT;
		}
		City c = nameMapping.get(name);
		if (c != null) {
			return c;
		}
		c = pinyinMapping.get(name.toLowerCase());
		if (c != null) {
			return c;
		}
		return DEFAULT;
	}
	
	
	static {
		String china =
				"["
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"济南\","
				+ "				\"pinyin\":\"jinan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"青岛\","
				+ "				\"pinyin\":\"qingdao\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"淄博\","
				+ "				\"pinyin\":\"zibo\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"德州\","
				+ "				\"pinyin\":\"dezhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"烟台\","
				+ "				\"pinyin\":\"yantai\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"潍坊\","
				+ "				\"pinyin\":\"weifang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"济宁\","
				+ "				\"pinyin\":\"jining\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"泰安\","
				+ "				\"pinyin\":\"taian\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"临沂\","
				+ "				\"pinyin\":\"linyi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"菏泽\","
				+ "				\"pinyin\":\"heze\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"滨州\","
				+ "				\"pinyin\":\"binzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"东营\","
				+ "				\"pinyin\":\"dongying\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"威海\","
				+ "				\"pinyin\":\"weihai\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"枣庄\","
				+ "				\"pinyin\":\"zaozhuang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"日照\","
				+ "				\"pinyin\":\"rizhao\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"莱芜\","
				+ "				\"pinyin\":\"laiwu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"聊城\","
				+ "				\"pinyin\":\"liaocheng\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"山东\","
				+ "		\"pinyin\":\"shandong\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"福州\","
				+ "				\"pinyin\":\"fuzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"厦门\","
				+ "				\"pinyin\":\"xiamen\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"宁德\","
				+ "				\"pinyin\":\"ningde\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"莆田\","
				+ "				\"pinyin\":\"putian\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"泉州\","
				+ "				\"pinyin\":\"quanzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"漳州\","
				+ "				\"pinyin\":\"zhangzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"龙岩\","
				+ "				\"pinyin\":\"longyan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"三明\","
				+ "				\"pinyin\":\"sanming\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"南平\","
				+ "				\"pinyin\":\"nanping\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"福建\","
				+ "		\"pinyin\":\"fujian\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"台北\","
				+ "				\"pinyin\":\"taibei\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"高雄\","
				+ "				\"pinyin\":\"gaoxiong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"台中\","
				+ "				\"pinyin\":\"taizhong\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"台湾\","
				+ "		\"pinyin\":\"taiwan\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"石家庄\","
				+ "				\"pinyin\":\"shijiazhuang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"保定\","
				+ "				\"pinyin\":\"baoding\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"张家口\","
				+ "				\"pinyin\":\"zhangjiakou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"承德\","
				+ "				\"pinyin\":\"chengde\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"唐山\","
				+ "				\"pinyin\":\"tangshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"廊坊\","
				+ "				\"pinyin\":\"langfang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"沧州\","
				+ "				\"pinyin\":\"cangzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"衡水\","
				+ "				\"pinyin\":\"hengshui\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"邢台\","
				+ "				\"pinyin\":\"xingtai\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"邯郸\","
				+ "				\"pinyin\":\"handan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"秦皇岛\","
				+ "				\"pinyin\":\"qinhuangdao\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"河北\","
				+ "		\"pinyin\":\"hebei\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"郑州\","
				+ "				\"pinyin\":\"zhengzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"安阳\","
				+ "				\"pinyin\":\"anyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"新乡\","
				+ "				\"pinyin\":\"xinxiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"许昌\","
				+ "				\"pinyin\":\"xuchang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"平顶山\","
				+ "				\"pinyin\":\"pingdingshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"信阳\","
				+ "				\"pinyin\":\"xinyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"南阳\","
				+ "				\"pinyin\":\"nanyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"开封\","
				+ "				\"pinyin\":\"kaifeng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"洛阳\","
				+ "				\"pinyin\":\"luoyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"商丘\","
				+ "				\"pinyin\":\"shangqiu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"焦作\","
				+ "				\"pinyin\":\"jiaozuo\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"鹤壁\","
				+ "				\"pinyin\":\"hebi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"濮阳\","
				+ "				\"pinyin\":\"puyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"周口\","
				+ "				\"pinyin\":\"zhoukou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"漯河\","
				+ "				\"pinyin\":\"luohe\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"驻马店\","
				+ "				\"pinyin\":\"zhumadian\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"三门峡\","
				+ "				\"pinyin\":\"sanmenxia\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"济源\","
				+ "				\"pinyin\":\"jiyuan\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"河南\","
				+ "		\"pinyin\":\"henan\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"重庆\","
				+ "				\"pinyin\":\"chongqing\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"重庆\","
				+ "		\"pinyin\":\"chongqing\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"武汉\","
				+ "				\"pinyin\":\"wuhan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"襄阳\","
				+ "				\"pinyin\":\"xiangyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"鄂州\","
				+ "				\"pinyin\":\"ezhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"孝感\","
				+ "				\"pinyin\":\"xiaogan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"黄冈\","
				+ "				\"pinyin\":\"huanggang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"黄石\","
				+ "				\"pinyin\":\"huangshi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"咸宁\","
				+ "				\"pinyin\":\"xianning\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"荆州\","
				+ "				\"pinyin\":\"jingzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"宜昌\","
				+ "				\"pinyin\":\"yichang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"恩施\","
				+ "				\"pinyin\":\"enshi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"十堰\","
				+ "				\"pinyin\":\"shiyan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"神农架\","
				+ "				\"pinyin\":\"shennongjia\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"随州\","
				+ "				\"pinyin\":\"suizhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"荆门\","
				+ "				\"pinyin\":\"jingmen\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"天门\","
				+ "				\"pinyin\":\"tianmen\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"仙桃\","
				+ "				\"pinyin\":\"xiantao\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"潜江\","
				+ "				\"pinyin\":\"qianjiang\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"湖北\","
				+ "		\"pinyin\":\"hubei\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"长沙\","
				+ "				\"pinyin\":\"changsha\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"湘潭\","
				+ "				\"pinyin\":\"xiangtan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"株洲\","
				+ "				\"pinyin\":\"zhuzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"衡阳\","
				+ "				\"pinyin\":\"hengyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"郴州\","
				+ "				\"pinyin\":\"chenzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"常德\","
				+ "				\"pinyin\":\"changde\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"益阳\","
				+ "				\"pinyin\":\"yiyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"娄底\","
				+ "				\"pinyin\":\"loudi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"邵阳\","
				+ "				\"pinyin\":\"shaoyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"岳阳\","
				+ "				\"pinyin\":\"yueyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"张家界\","
				+ "				\"pinyin\":\"zhangjiajie\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"怀化\","
				+ "				\"pinyin\":\"huaihua\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"永州\","
				+ "				\"pinyin\":\"yongzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"湘西\","
				+ "				\"pinyin\":\"xiangxi\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"湖南\","
				+ "		\"pinyin\":\"hunan\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"南昌\","
				+ "				\"pinyin\":\"nanchang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"九江\","
				+ "				\"pinyin\":\"jiujiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"上饶\","
				+ "				\"pinyin\":\"shangrao\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"抚州\","
				+ "				\"pinyin\":\"fuzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"宜春\","
				+ "				\"pinyin\":\"yichun\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"吉安\","
				+ "				\"pinyin\":\"jian\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"赣州\","
				+ "				\"pinyin\":\"ganzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"景德镇\","
				+ "				\"pinyin\":\"jingdezhen\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"萍乡\","
				+ "				\"pinyin\":\"pingxiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"新余\","
				+ "				\"pinyin\":\"xinyu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"鹰潭\","
				+ "				\"pinyin\":\"yingtan\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"江西\","
				+ "		\"pinyin\":\"jiangxi\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"海口\","
				+ "				\"pinyin\":\"haikou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"三亚\","
				+ "				\"pinyin\":\"sanya\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"东方\","
				+ "				\"pinyin\":\"dongfang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"临高\","
				+ "				\"pinyin\":\"lingao\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"澄迈\","
				+ "				\"pinyin\":\"chengmai\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"儋州\","
				+ "				\"pinyin\":\"danzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"昌江\","
				+ "				\"pinyin\":\"changjiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"白沙\","
				+ "				\"pinyin\":\"baisha\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"琼中\","
				+ "				\"pinyin\":\"qiongzhong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"定安\","
				+ "				\"pinyin\":\"dingan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"屯昌\","
				+ "				\"pinyin\":\"tunchang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"琼海\","
				+ "				\"pinyin\":\"qionghai\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"文昌\","
				+ "				\"pinyin\":\"wenchang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"保亭\","
				+ "				\"pinyin\":\"baoting\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"万宁\","
				+ "				\"pinyin\":\"wanning\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"陵水\","
				+ "				\"pinyin\":\"lingshui\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"西沙\","
				+ "				\"pinyin\":\"xisha\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"南沙\","
				+ "				\"pinyin\":\"nansha\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"乐东\","
				+ "				\"pinyin\":\"ledong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"五指山\","
				+ "				\"pinyin\":\"wuzhishan\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"海南\","
				+ "		\"pinyin\":\"hainan\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"哈尔滨\","
				+ "				\"pinyin\":\"haerbin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"齐齐哈尔\","
				+ "				\"pinyin\":\"qiqihaer\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"牡丹江\","
				+ "				\"pinyin\":\"mudanjiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"佳木斯\","
				+ "				\"pinyin\":\"jiamusi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"绥化\","
				+ "				\"pinyin\":\"suihua\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"黑河\","
				+ "				\"pinyin\":\"heihe\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"大兴安岭\","
				+ "				\"pinyin\":\"daxinganling\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"伊春\","
				+ "				\"pinyin\":\"yichun\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"大庆\","
				+ "				\"pinyin\":\"daqing\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"七台河\","
				+ "				\"pinyin\":\"qitaihe\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"鸡西\","
				+ "				\"pinyin\":\"jixi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"鹤岗\","
				+ "				\"pinyin\":\"hegang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"双鸭山\","
				+ "				\"pinyin\":\"shuangyashan\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"黑龙江\","
				+ "		\"pinyin\":\"heilongjiang\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"天津\","
				+ "				\"pinyin\":\"tianjin\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"天津\","
				+ "		\"pinyin\":\"tianjin\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"西安\","
				+ "				\"pinyin\":\"xian\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"咸阳\","
				+ "				\"pinyin\":\"xianyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"延安\","
				+ "				\"pinyin\":\"yanan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"榆林\","
				+ "				\"pinyin\":\"yulin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"渭南\","
				+ "				\"pinyin\":\"weinan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"商洛\","
				+ "				\"pinyin\":\"shangluo\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"安康\","
				+ "				\"pinyin\":\"ankang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"汉中\","
				+ "				\"pinyin\":\"hanzhong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"宝鸡\","
				+ "				\"pinyin\":\"baoji\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"铜川\","
				+ "				\"pinyin\":\"tongchuan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"杨凌\","
				+ "				\"pinyin\":\"yangling\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"陕西\","
				+ "		\"pinyin\":\"shanxi\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"贵阳\","
				+ "				\"pinyin\":\"guiyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"遵义\","
				+ "				\"pinyin\":\"zunyi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"安顺\","
				+ "				\"pinyin\":\"anshun\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"黔南\","
				+ "				\"pinyin\":\"qiannan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"黔东南\","
				+ "				\"pinyin\":\"qiandongnan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"铜仁\","
				+ "				\"pinyin\":\"tongren\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"毕节\","
				+ "				\"pinyin\":\"bijie\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"六盘水\","
				+ "				\"pinyin\":\"liupanshui\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"黔西南\","
				+ "				\"pinyin\":\"qianxinan\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"贵州\","
				+ "		\"pinyin\":\"guizhou\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"乌鲁木齐\","
				+ "				\"pinyin\":\"wulumuqi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"克拉玛依\","
				+ "				\"pinyin\":\"kelamayi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"石河子\","
				+ "				\"pinyin\":\"shihezi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"昌吉\","
				+ "				\"pinyin\":\"changji\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"吐鲁番\","
				+ "				\"pinyin\":\"tulufan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"巴音郭楞\","
				+ "				\"pinyin\":\"bayinguoleng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阿拉尔\","
				+ "				\"pinyin\":\"alaer\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阿克苏\","
				+ "				\"pinyin\":\"akesu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"喀什\","
				+ "				\"pinyin\":\"kashen\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"伊犁\","
				+ "				\"pinyin\":\"yili\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"塔城\","
				+ "				\"pinyin\":\"tacheng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"哈密\","
				+ "				\"pinyin\":\"hami\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"和田\","
				+ "				\"pinyin\":\"hetian\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阿勒泰\","
				+ "				\"pinyin\":\"aletai\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"克州\","
				+ "				\"pinyin\":\"kezhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"博尔塔拉\","
				+ "				\"pinyin\":\"boertala\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"新疆\","
				+ "		\"pinyin\":\"xinjiang\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"澳门\","
				+ "				\"pinyin\":\"aomen\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"澳门\","
				+ "		\"pinyin\":\"aomen\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"南京\","
				+ "				\"pinyin\":\"nanjing\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"无锡\","
				+ "				\"pinyin\":\"wuxi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"镇江\","
				+ "				\"pinyin\":\"zhenjiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"苏州\","
				+ "				\"pinyin\":\"suzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"南通\","
				+ "				\"pinyin\":\"nantong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"扬州\","
				+ "				\"pinyin\":\"yangzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"盐城\","
				+ "				\"pinyin\":\"yancheng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"徐州\","
				+ "				\"pinyin\":\"xuzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"淮安\","
				+ "				\"pinyin\":\"huaian\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"连云港\","
				+ "				\"pinyin\":\"lianyungang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"常州\","
				+ "				\"pinyin\":\"changzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"泰州\","
				+ "				\"pinyin\":\"taizhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"宿迁\","
				+ "				\"pinyin\":\"suqian\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"江苏\","
				+ "		\"pinyin\":\"jiangsu\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"合肥\","
				+ "				\"pinyin\":\"hefei\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"蚌埠\","
				+ "				\"pinyin\":\"bangbu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"芜湖\","
				+ "				\"pinyin\":\"wuhu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"淮南\","
				+ "				\"pinyin\":\"huainan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"马鞍山\","
				+ "				\"pinyin\":\"maanshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"安庆\","
				+ "				\"pinyin\":\"anqing\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"宿州\","
				+ "				\"pinyin\":\"suzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阜阳\","
				+ "				\"pinyin\":\"fuyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"亳州\","
				+ "				\"pinyin\":\"bozhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"黄山\","
				+ "				\"pinyin\":\"huangshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"滁州\","
				+ "				\"pinyin\":\"chuzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"淮北\","
				+ "				\"pinyin\":\"huaibei\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"铜陵\","
				+ "				\"pinyin\":\"tongling\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"宣城\","
				+ "				\"pinyin\":\"xuancheng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"六安\","
				+ "				\"pinyin\":\"liuan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"池州\","
				+ "				\"pinyin\":\"chizhou\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"安徽\","
				+ "		\"pinyin\":\"anhui\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"拉萨\","
				+ "				\"pinyin\":\"lasa\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"日喀则\","
				+ "				\"pinyin\":\"rikaze\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"山南\","
				+ "				\"pinyin\":\"shannan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"林芝\","
				+ "				\"pinyin\":\"linzhi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"昌都\","
				+ "				\"pinyin\":\"changdu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"那曲\","
				+ "				\"pinyin\":\"naqu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阿里\","
				+ "				\"pinyin\":\"ali\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"西藏\","
				+ "		\"pinyin\":\"xizang\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"上海\","
				+ "				\"pinyin\":\"shanghai\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"上海\","
				+ "		\"pinyin\":\"shanghai\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"长春\","
				+ "				\"pinyin\":\"zhangchun\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"吉林\","
				+ "				\"pinyin\":\"jilin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"延边\","
				+ "				\"pinyin\":\"yanbian\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"四平\","
				+ "				\"pinyin\":\"siping\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"通化\","
				+ "				\"pinyin\":\"tonghua\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"白城\","
				+ "				\"pinyin\":\"baicheng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"辽源\","
				+ "				\"pinyin\":\"liaoyuan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"松原\","
				+ "				\"pinyin\":\"songyuan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"白山\","
				+ "				\"pinyin\":\"baishan\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"吉林\","
				+ "		\"pinyin\":\"jilin\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"太原\","
				+ "				\"pinyin\":\"taiyuan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"大同\","
				+ "				\"pinyin\":\"datong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阳泉\","
				+ "				\"pinyin\":\"yangquan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"晋中\","
				+ "				\"pinyin\":\"jinzhong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"长治\","
				+ "				\"pinyin\":\"zhangzhi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"晋城\","
				+ "				\"pinyin\":\"jincheng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"临汾\","
				+ "				\"pinyin\":\"linfen\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"运城\","
				+ "				\"pinyin\":\"yuncheng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"朔州\","
				+ "				\"pinyin\":\"shuozhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"忻州\","
				+ "				\"pinyin\":\"xinzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"吕梁\","
				+ "				\"pinyin\":\"lvliang\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"山西\","
				+ "		\"pinyin\":\"shanxi\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"兰州\","
				+ "				\"pinyin\":\"lanzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"定西\","
				+ "				\"pinyin\":\"dingxi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"平凉\","
				+ "				\"pinyin\":\"pingliang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"庆阳\","
				+ "				\"pinyin\":\"qingyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"武威\","
				+ "				\"pinyin\":\"wuwei\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"金昌\","
				+ "				\"pinyin\":\"jinchang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"张掖\","
				+ "				\"pinyin\":\"zhangye\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"酒泉\","
				+ "				\"pinyin\":\"jiuquan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"天水\","
				+ "				\"pinyin\":\"tianshui\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"陇南\","
				+ "				\"pinyin\":\"longnan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"临夏\","
				+ "				\"pinyin\":\"linxia\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"甘南\","
				+ "				\"pinyin\":\"gannan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"白银\","
				+ "				\"pinyin\":\"baiyin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"嘉峪关\","
				+ "				\"pinyin\":\"jiayuguan\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"甘肃\","
				+ "		\"pinyin\":\"gansu\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"银川\","
				+ "				\"pinyin\":\"yinchuan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"石嘴山\","
				+ "				\"pinyin\":\"shizuishan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"吴忠\","
				+ "				\"pinyin\":\"wuzhong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"固原\","
				+ "				\"pinyin\":\"guyuan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"中卫\","
				+ "				\"pinyin\":\"zhongwei\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"宁夏\","
				+ "		\"pinyin\":\"ningxia\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"香港\","
				+ "				\"pinyin\":\"xianggang\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"香港\","
				+ "		\"pinyin\":\"xianggang\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"成都\","
				+ "				\"pinyin\":\"chengdou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"攀枝花\","
				+ "				\"pinyin\":\"panzhihua\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"自贡\","
				+ "				\"pinyin\":\"zigong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"绵阳\","
				+ "				\"pinyin\":\"mianyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"南充\","
				+ "				\"pinyin\":\"nanchong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"达州\","
				+ "				\"pinyin\":\"dazhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"遂宁\","
				+ "				\"pinyin\":\"suining\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"广安\","
				+ "				\"pinyin\":\"guangan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"巴中\","
				+ "				\"pinyin\":\"bazhong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"泸州\","
				+ "				\"pinyin\":\"luzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"宜宾\","
				+ "				\"pinyin\":\"yibin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"内江\","
				+ "				\"pinyin\":\"neijiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"资阳\","
				+ "				\"pinyin\":\"ziyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"乐山\","
				+ "				\"pinyin\":\"leshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"眉山\","
				+ "				\"pinyin\":\"meishan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"凉山\","
				+ "				\"pinyin\":\"liangshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"雅安\","
				+ "				\"pinyin\":\"yaan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"甘孜\","
				+ "				\"pinyin\":\"ganzi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阿坝\","
				+ "				\"pinyin\":\"aba\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"德阳\","
				+ "				\"pinyin\":\"deyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"广元\","
				+ "				\"pinyin\":\"guangyuan\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"四川\","
				+ "		\"pinyin\":\"sichuan\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"杭州\","
				+ "				\"pinyin\":\"hangzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"湖州\","
				+ "				\"pinyin\":\"huzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"嘉兴\","
				+ "				\"pinyin\":\"jiaxing\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"宁波\","
				+ "				\"pinyin\":\"ningbo\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"绍兴\","
				+ "				\"pinyin\":\"shaoxing\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"台州\","
				+ "				\"pinyin\":\"taizhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"温州\","
				+ "				\"pinyin\":\"wenzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"丽水\","
				+ "				\"pinyin\":\"lishui\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"金华\","
				+ "				\"pinyin\":\"jinhua\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"衢州\","
				+ "				\"pinyin\":\"quzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"舟山\","
				+ "				\"pinyin\":\"zhoushan\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"浙江\","
				+ "		\"pinyin\":\"zhejiang\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"南宁\","
				+ "				\"pinyin\":\"nanning\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"崇左\","
				+ "				\"pinyin\":\"chongzuo\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"柳州\","
				+ "				\"pinyin\":\"liuzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"来宾\","
				+ "				\"pinyin\":\"laibin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"桂林\","
				+ "				\"pinyin\":\"guilin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"梧州\","
				+ "				\"pinyin\":\"wuzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"贺州\","
				+ "				\"pinyin\":\"hezhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"贵港\","
				+ "				\"pinyin\":\"guigang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"玉林\","
				+ "				\"pinyin\":\"yulin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"百色\","
				+ "				\"pinyin\":\"baise\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"钦州\","
				+ "				\"pinyin\":\"qinzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"河池\","
				+ "				\"pinyin\":\"hechi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"北海\","
				+ "				\"pinyin\":\"beihai\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"防城港\","
				+ "				\"pinyin\":\"fangchenggang\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"广西\","
				+ "		\"pinyin\":\"guangxi\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"昆明\","
				+ "				\"pinyin\":\"kunming\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"大理\","
				+ "				\"pinyin\":\"dali\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"红河\","
				+ "				\"pinyin\":\"honghe\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"曲靖\","
				+ "				\"pinyin\":\"qujing\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"保山\","
				+ "				\"pinyin\":\"baoshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"文山\","
				+ "				\"pinyin\":\"wenshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"玉溪\","
				+ "				\"pinyin\":\"yuxi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"楚雄\","
				+ "				\"pinyin\":\"chuxiong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"普洱\","
				+ "				\"pinyin\":\"puer\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"昭通\","
				+ "				\"pinyin\":\"zhaotong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"临沧\","
				+ "				\"pinyin\":\"lincang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"怒江\","
				+ "				\"pinyin\":\"nujiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"迪庆\","
				+ "				\"pinyin\":\"diqing\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"丽江\","
				+ "				\"pinyin\":\"lijiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"德宏\","
				+ "				\"pinyin\":\"dehong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"西双版纳\","
				+ "				\"pinyin\":\"xishuangbanna\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"云南\","
				+ "		\"pinyin\":\"yunnan\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"呼和浩特\","
				+ "				\"pinyin\":\"huhehaote\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"包头\","
				+ "				\"pinyin\":\"baotou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"乌海\","
				+ "				\"pinyin\":\"wuhai\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"乌兰察布\","
				+ "				\"pinyin\":\"wulanchabu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"通辽\","
				+ "				\"pinyin\":\"tongliao\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"赤峰\","
				+ "				\"pinyin\":\"chifeng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"鄂尔多斯\","
				+ "				\"pinyin\":\"eerduosi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"巴彦淖尔\","
				+ "				\"pinyin\":\"bayannaoer\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"锡林郭勒\","
				+ "				\"pinyin\":\"xilinguole\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"呼伦贝尔\","
				+ "				\"pinyin\":\"hulunbeier\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"兴安盟\","
				+ "				\"pinyin\":\"xinganmeng\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阿拉善盟\","
				+ "				\"pinyin\":\"alashanmeng\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"内蒙古\","
				+ "		\"pinyin\":\"neimenggu\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"沈阳\","
				+ "				\"pinyin\":\"shenyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"大连\","
				+ "				\"pinyin\":\"dalian\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"鞍山\","
				+ "				\"pinyin\":\"anshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"抚顺\","
				+ "				\"pinyin\":\"fushun\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"本溪\","
				+ "				\"pinyin\":\"benxi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"丹东\","
				+ "				\"pinyin\":\"dandong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"锦州\","
				+ "				\"pinyin\":\"jinzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"营口\","
				+ "				\"pinyin\":\"yingkou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阜新\","
				+ "				\"pinyin\":\"fuxin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"辽阳\","
				+ "				\"pinyin\":\"liaoyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"铁岭\","
				+ "				\"pinyin\":\"tieling\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"朝阳\","
				+ "				\"pinyin\":\"chaoyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"盘锦\","
				+ "				\"pinyin\":\"panjin\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"葫芦岛\","
				+ "				\"pinyin\":\"huludao\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"辽宁\","
				+ "		\"pinyin\":\"liaoning\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"广州\","
				+ "				\"pinyin\":\"guangzhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"韶关\","
				+ "				\"pinyin\":\"shaoguan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"惠州\","
				+ "				\"pinyin\":\"huizhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"梅州\","
				+ "				\"pinyin\":\"meizhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"汕头\","
				+ "				\"pinyin\":\"shantou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"深圳\","
				+ "				\"pinyin\":\"shenzhen\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"珠海\","
				+ "				\"pinyin\":\"zhuhai\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"佛山\","
				+ "				\"pinyin\":\"foshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"肇庆\","
				+ "				\"pinyin\":\"zhaoqing\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"湛江\","
				+ "				\"pinyin\":\"zhanjiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"江门\","
				+ "				\"pinyin\":\"jiangmen\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"河源\","
				+ "				\"pinyin\":\"heyuan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"清远\","
				+ "				\"pinyin\":\"qingyuan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"云浮\","
				+ "				\"pinyin\":\"yunfu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"潮州\","
				+ "				\"pinyin\":\"chaozhou\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"东莞\","
				+ "				\"pinyin\":\"dongguan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"中山\","
				+ "				\"pinyin\":\"zhongshan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"阳江\","
				+ "				\"pinyin\":\"yangjiang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"揭阳\","
				+ "				\"pinyin\":\"jieyang\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"茂名\","
				+ "				\"pinyin\":\"maoming\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"汕尾\","
				+ "				\"pinyin\":\"shanwei\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"广东\","
				+ "		\"pinyin\":\"guangdong\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"西宁\","
				+ "				\"pinyin\":\"xining\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"海东\","
				+ "				\"pinyin\":\"haidong\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"黄南\","
				+ "				\"pinyin\":\"huangnan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"海南\","
				+ "				\"pinyin\":\"hainan\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"果洛\","
				+ "				\"pinyin\":\"guoluo\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"玉树\","
				+ "				\"pinyin\":\"yushu\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"海西\","
				+ "				\"pinyin\":\"haixi\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"海北\","
				+ "				\"pinyin\":\"haibei\""
				+ "			},"
				+ "			{"
				+ "				\"name\":\"格尔木\","
				+ "				\"pinyin\":\"geermu\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"青海\","
				+ "		\"pinyin\":\"qinghai\""
				+ "	},"
				+ "	{"
				+ "		\"cities\":["
				+ "			{"
				+ "				\"name\":\"北京\","
				+ "				\"pinyin\":\"beijing\""
				+ "			}"
				+ "		],"
				+ "		\"name\":\"北京\","
				+ "		\"pinyin\":\"beijing\""
				+ "	}"
				+ "]";
		List<Province> provinces = JSON.parseObject(china, new TypeReference<LinkedList<Province>>() {});
		for (Province province : provinces) {
			List<City> cities = province.cities;
			for (City city : cities) {
				city.province = province;
				nameMapping.put(city.name, city);
				pinyinMapping.put(city.pinyin, city);
			}
		}
		DEFAULT = pinyinMapping.get("beijing");
	}
	
//	public static void main(String[] args) {
//		// {'province1': ['city1', 'city2'], 'province2': ['city1', 'city2']}
//		long l = System.currentTimeMillis();
//		String str = HttpUtils.get("http://m.weather.com.cn/data5/city.xml");
//		System.out.println(str);
//		String[] strs = StringUtils.split(str, ",");
//		JSONObject json = new JSONObject(true);
//		StringBuilder prettyOut = new StringBuilder();
//		prettyOut.append("\"{\"").append(" +\n");
//		for (String s : strs) {
//			String[] ss = StringUtils.split(s, "|");
//			String code = ss[0];
//			String province = ss[1];
//			
//			String sub = HttpUtils.get("http://m.weather.com.cn/data5/city" + code + ".xml");
//			ss = StringUtils.split(sub, ",");
//			JSONArray cityArr = new JSONArray();
//			for (String subStr : ss) {
//				String[] subStrs = StringUtils.split(subStr, "|");
//				String cityCode = subStrs[0];
//				String city = subStrs[1];
//				cityArr.add(city);
//			}
//			
//			json.put(province, cityArr);
//		}
//		prettyOut.append("\n\"}\"");
//		System.out.println(json);
//		System.out.println("cost=" + (System.currentTimeMillis() - l) + " millis.");
//	}
	
}
